package com.hellogood.yaohuo.server.serviceImpl;

import java.util.List;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.hellogood.yaohuo.server.mgr.factory.MgrFactory;
import com.hellogood.yaohuo.shared.entity.Goods;
import com.hellogood.yaohuo.shared.services.GoodsService;

public class GoodsServiceImpl extends RemoteServiceServlet implements GoodsService {

	private static final long serialVersionUID = 1201986641478238415L;

	@Override
	public List<Goods> searchGoodsList(String key) {
		return MgrFactory.getInstance().createGoodsMgr().getGoodsByCode(key);
	}

}
